package com.jqb.springlab.service.impl;

import com.jqb.springlab.pojo.User;
import com.jqb.springlab.service.UserService;


public class UserServiceImpl implements UserService{

	@Override
	public void doSth(User user) {
		System.out.println("id:"+user.getId());
		System.out.println("name:"+user.getName());
		System.out.println("friendid:"+user.getFriends()[0].getId());
		System.out.println("friendname:"+user.getFriends()[0].getName());
	}

}
